package com.share.two.e_aspect.b_annotation;

import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl {

	public void addUser() {
		System.out.println("aspect_annotation:addUser");
		
	}

	public String updateUser() {
		System.out.println("aspect_annotation:updateUser");
//		int i = 1/0; //抛异常通知测试用
		return "小河马";
	}

	public void deleteUser() {
		System.out.println("aspect_annotation:deleteUser");
		
	}

}
